Bookly\Lib\Slots\Generator B

Total Complexity 99
Dependencies 11
Dependents 2
Total lines 519
Lines of code 276
Logical lines of code 163
Comment lines 158
Methods 12
Properties 20

Methods 12

Method Rating Maintainability Complexity Lines of code
current()
C
37 28 63
_mapStaffBookings()
C
36 25 69
_tryFindNextSlot()
A
45 14 42
__construct()
A
44 13 38
_tryFindPastSlot()
A
50 8 26
_findPreferableSlot()
S
60 3 13
_findNextSlot()
S
63 3 10
serviceDurationInDays()
S
82 1 3
rewind()
S
80 1 3
key()
S
82 1 3
next()
S
80 1 3
valid()
S
82 1 3